<!DOCTYPE html>
<html lang="zh">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<meta http-equiv="X-UA-Compatible" content="ie=edge">
	<title></title>
	<style>
		.box {
		    width:50px;
		    height:50px;
		    border-radius:6px;
		    margin-top:4px;
		    display:inline-block
		  }
		.green{
		    background-color:#6fb936;
		  }
	</style>
</head>
<body>
	
	<div class="box green"></div>
	<p>元素从500px开始，返回原来位置</p>
	
	<script src="TweenMax.min.js"></script>
	<script>
		var myTween = TweenMax.from(".box", 3, {
		  x: 500,
		})
	</script>
</body>
</html>